﻿using UnityEngine;
using UnityEngine.UI;

public class InteractivelyButton : MonoBehaviour {

    public Text TextUI;
    public Image Image;
    public Color Normal;
    public Color Pressed;
    public string Text;

    public void Start()
    {
        TextUI.text = Text;
    }

    public void Show(string text)
    {
        Text = text;
        TextUI.text = Text;
    }

    public void SetPressed()
    {
        Image.color = Pressed;
    }

    public void SetNormal()
    {
        Image.color = Normal;
    }
}
